net: phy: marvell: Do not reset 88e1310 after autoneg
authorNathan Rossi <[email protected]>
Fri, 3 Jun 2016 13:16:17 +0000 (23:16 +1000)
committerJoe Hershberger <[email protected]>
Tue, 21 Jun 2016 22:01:52 +0000 (17:01 -0500)
commit08e64cece2f8e793b5c085ebf27c27dfc5ed730d
tree52330705c155db8552225d47554c8383fefef5b3
parent79887749f802af5c30ef019bd13f299f79a1530a
net: phy: marvell: Do not reset 88e1310 after autoneg

Commit a058052c "net: phy: do not read configuration register on reset",
changes the behaviour of the phy_reset function such that the state of
the BMCR register is not preserved during reset.

Change the config function for the m88e1310 so that it does not do a
reset after configuring auto-negotiation.

Signed-off-by: Nathan Rossi <[email protected]>
Cc: Joe Hershberger <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Stefan Roese <[email protected]>
Acked-by: Michal Simek <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
drivers/net/phy/marvell.c